<?php
/**
 * Created by PhpStorm.
 * User: weblinuxgame
 * Date: 2017-09-11
 * Time: 15:53
 */

$file    = 'EpgApp\modules\sdker\Image\gbclass\ImageSDK';
$pattern = '/^(\\\EpgApp|EpgApp)\\\.+/';
var_dump($pattern,preg_match($pattern,$file));